וְלֹא־שָׁמַ֣ע אֲמַצְיָ֔הוּ כִּ֤י מֵהָֽאֱלֹהִים֙ הִ֔יא לְמַ֖עַן תִּתָּ֣ם בְּיָ֑ד כִּ֣י דָֽרְשׁ֔וּ אֵ֖ת אֱלֹהֵ֥י אֱדֽוֹם׃
Rashi on II Chronicles
because this was from God in order to deliver them into their hands i.e., into their hands, as above (verse 16): “I know that God has given counsel to destroy you.”